Skip to content

auto-snap coordinates to valid tile centers in fetch_embedding#166

Merged
avsm merged 1 commit intoucam-eo:mainfrom
avsm:fix-fetch-embedding-coordinate-snapping
Feb 5, 2026
Merged

auto-snap coordinates to valid tile centers in fetch_embedding#166
avsm merged 1 commit intoucam-eo:mainfrom
avsm:fix-fetch-embedding-coordinate-snapping

Conversation

@avsm
Copy link
Contributor

@avsm avsm commented Jan 31, 2026

fetch_embedding shouldn't fail with arbitrary coordinates; the tile system requires coordinates centered at 0.05-degree offsets (eg -119.95, 36.05)

Now fetch_embedding() and download_tile() snap user-provided coordinates to valid tile centers using tile_from_world()

fixes #164

fetch_embedding shouldn't fail with arbitrary coordinates; the tile system
requires coordinates centered at 0.05-degree offsets (eg -119.95, 36.05)

Now fetch_embedding() and download_tile() snap user-provided coordinates to
valid tile centers using tile_from_world()
@avsm avsm merged commit f867855 into ucam-eo:main Feb 5, 2026
18 of 21 checks passed
@avsm avsm deleted the fix-fetch-embedding-coordinate-snapping branch February 5, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gt.fetch_embedding does not work for locations other than Cambridge?

1 participant